package com.yf.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 转让订单实体
 * 表名 transfer_order
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Aug 16 13:57:31 CST 2018
 */
@Setter
@Getter
public class TransferOrderEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //表ID
    private Long id;
    //转让人ID
    private Long fromUserId;
    //转让人编号
    private String fromUserCode;
    //转让人名字
    private String fromUserName;
    //转让人级别ID
    private Long fromUserLevelId;
    //转让人等级名称
    private String userLevelName;
    //接收人ID
    private Long toUserId;
    //接收人编号
    private String toUserCode;
    //接收人名字
    private String toUserName;
    //接收人级别ID
    private Long toUserLevelId;
    //接收人等级名称
    private String toUserLevelName;
    //操作人ID
    private Long operaterId;
    //总金额
    private BigDecimal totalMoney;
    //抵扣金额
    private BigDecimal otherMoney;
    //抵扣说明
    private String payInfo;
    //ENUM-类型:'赠送','调货','退货'
    private Integer type;
    //ENUM-状态:'待处理','成功','拒绝'
    private Integer status;
    //备注
    private String remark;
    //申请时间
    private Date applyTime;
    //成功时间
    private Date successTime;
    //退货时间
    private Date backTime;

}
